package com.zdsoft.finance.product.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;

import com.zdsoft.finance.base.service.impl.BaseServiceImpl;
import com.zdsoft.finance.common.base.CustomRepository;
import com.zdsoft.finance.product.entity.ProductDocTemp;
import com.zdsoft.finance.product.repository.ProductDocTempRepository;
import com.zdsoft.finance.product.service.ProductDocTempService;

/**
 * 产品文档模板操作实现
 * @author longwei
 * @date 206/11/22
 * @version 1.0
 */
@Service("productDocTempService")
public class ProductDocTempServiceImpl extends BaseServiceImpl<ProductDocTemp, CustomRepository<ProductDocTemp,String>> implements ProductDocTempService{

	@Autowired
	private ProductDocTempRepository productDocTempRepository;
	
	@Override
	public Page<ProductDocTemp> queryByCons(ProductDocTemp productDocTemp, Pageable pageable) {
		return productDocTempRepository.queryByCons(productDocTemp,pageable);
	}

}
